/**
 * jims
 */
package com.jims.master.modules.doctor.entity;

import com.jims.master.common.persistence.DataEntity;
import com.jims.master.modules.sys.entity.OrgDept;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
 * 处置治疗Entity
 * @author 陈晓阳
 * @version 2017-03-14
 */
public class OutpTreatRec extends DataEntity<OutpTreatRec> {
	
	private static final long serialVersionUID = 1L;
	private String clinicId;		// 就诊记录ID/住院记录
	private String patientId;		// 病人信息Id
	private String inoroutFlag;		// 住院/门诊
	private String confirmFlag;		// 确认标志
	private String chargeFlag;		// 收费标志
	private String implementDept;		// 执行科室
	private String billingDept;			//开单科室
	private String itemName;		// 项目名称
	private String num;		// 数量
	private String sumPrice;		// 总价格
    private String ordersId;//clinic_orders 主键
    private String deptName;//科室名称
    private String clinicItemId;//诊疗项目Id
    private String isApply;//是否 申请单
	private List<OutpTreatPresc> outpTreatPresc;
	private OrgDept implementDeptEt;   //执行科室
	private String isPhy;//是否体检

    private String name; //患者姓名
    private String itemClass; //项目分类
    private String clinicNo; //项目分类
	private Double price;
	private String itemComoboName;// 体检项目套餐名称
	private String isNow;
    private String unitsStr; //扩展（单位）用于材料
    private String supplierName; //扩展（厂商）用于材料
    private String packageSpec; //扩展（规格）用于材料

    //扩展字段
    private String []  itemClassFilter; //过滤项目分类


	private List<OutpTreatRec> outpTreatRecs;
	public OutpTreatRec() {
		super();
	}

	public OutpTreatRec(String id){
		super(id);
	}

	public Double getPrice() {
		return price;
	}

	public String getItemClass() {
		return itemClass;
	}

	public void setItemClass(String itemClass) {
		this.itemClass = itemClass;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public List<OutpTreatRec> getOutpTreatRecs() {
		return outpTreatRecs;
	}

	public void setOutpTreatRecs(List<OutpTreatRec> outpTreatRecs) {
		this.outpTreatRecs = outpTreatRecs;
	}

	@Length(min=1, max=64, message="就诊记录ID/住院记录长度必须介于 1 和 64 之间")
	public String getClinicId() {
		return clinicId;
	}

	public void setClinicId(String clinicId) {
		this.clinicId = clinicId;
	}
	
	@Length(min=1, max=64, message="病人信息Id长度必须介于 1 和 64 之间")
	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}
	
	@Length(min=1, max=1, message="住院/门诊长度必须介于 1 和 1 之间")
	public String getInoroutFlag() {
		return inoroutFlag;
	}

	public void setInoroutFlag(String inoroutFlag) {
		this.inoroutFlag = inoroutFlag;
	}
	
	@Length(min=1, max=1, message="确认标志长度必须介于 1 和 1 之间")
	public String getConfirmFlag() {
		return confirmFlag;
	}

	public void setConfirmFlag(String confirmFlag) {
		this.confirmFlag = confirmFlag;
	}
	
	@Length(min=1, max=1, message="收费标志长度必须介于 1 和 1 之间")
	public String getChargeFlag() {
		return chargeFlag;
	}

	public void setChargeFlag(String chargeFlag) {
		this.chargeFlag = chargeFlag;
	}
	
	@Length(min=0, max=64, message="执行科室长度必须介于 0 和 64 之间")
	public String getImplementDept() {
		return implementDept;
	}

	public void setImplementDept(String implementDept) {
		this.implementDept = implementDept;
	}
	
	@Length(min=0, max=200, message="项目名称长度必须介于 0 和 200 之间")
	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	
	@Length(min=0, max=11, message="数量长度必须介于 0 和 11 之间")
	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}
	
	public String getSumPrice() {
		return sumPrice;
	}

	public void setSumPrice(String sumPrice) {
		this.sumPrice = sumPrice;
	}

    public String getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(String ordersId) {
        this.ordersId = ordersId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getClinicItemId() {
        return clinicItemId;
    }

    public void setClinicItemId(String clinicItemId) {
        this.clinicItemId = clinicItemId;
    }
    @Length(min=1, max=1, message="确认标志长度必须介于 1 和 1 之间")
    public String getIsApply() {
        return isApply;
    }

    public void setIsApply(String isApply) {
        this.isApply = isApply;
    }

	public List<OutpTreatPresc> getOutpTreatPresc() {
		return outpTreatPresc;
	}

	public void setOutpTreatPresc(List<OutpTreatPresc> outpTreatPresc) {
		this.outpTreatPresc = outpTreatPresc;
	}

	public OrgDept getImplementDeptEt() {
		return implementDeptEt;
	}

	public void setImplementDeptEt(OrgDept implementDeptEt) {
		this.implementDeptEt = implementDeptEt;
	}

    public String getClinicNo() {
        return clinicNo;
    }

    public void setClinicNo(String clinicNo) {
        this.clinicNo = clinicNo;
    }

	public String getIsPhy() {
		return isPhy;
	}

	public void setIsPhy(String isPhy) {
		this.isPhy = isPhy;
	}

	public String getItemComoboName() {
		return itemComoboName;
	}

	public void setItemComoboName(String itemComoboName) {
		this.itemComoboName = itemComoboName;
	}

	public String getIsNow() {
		return isNow;
	}

	public void setIsNow(String isNow) {
		this.isNow = isNow;
	}

	public String getBillingDept() {
		return billingDept;
	}

	public void setBillingDept(String billingDept) {
		this.billingDept = billingDept;
	}

    public String[] getItemClassFilter() {
        return itemClassFilter;
    }

    public void setItemClassFilter(String[] itemClassFilter) {
        this.itemClassFilter = itemClassFilter;
    }

    public String getUnitsStr() {
        return unitsStr;
    }

    public void setUnitsStr(String unitsStr) {
        this.unitsStr = unitsStr;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getPackageSpec() {
        return packageSpec;
    }

    public void setPackageSpec(String packageSpec) {
        this.packageSpec = packageSpec;
    }
}